 * {
   box-sizing: border-box;
 }

 html,
 body {
   margin: 0;
   padding: 0;
   width: 100%;
   min-height: 100vh;
   font-family: 'Inter', sans-serif;
   background: #f3f3f3;
   overflow-x: hidden;
 }

 body {
   color: var(--dark);
 }

 nav {
   position: absolute;
   top: 0;
   left: 0;
   right: 0;
   z-index: 1000;
   display: flex;
   justify-content: space-between;
   align-items: center;
   padding: 20px 6%;
   background: transparent;
 }

 .logo {
   display: inline-flex;
   align-items: center;
   text-decoration: none;
 }

 .logo img {
   height: 74px;
   width: auto;
   display: block;
 }



 .nav-links {
   display: flex;
   align-items: flex-start;
   gap: 22px;
 }

 .nav-links a {
   text-decoration: none;
   color: #2f2f2f;
   font-size: 0.95rem;
   font-weight: 600;
   letter-spacing: 0.1px;
   transition: color 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
 }

 .nav-links a:hover {
   color: #8b0000;
   opacity: 0.75;
   transform: translateY(-1px);
 }

 .nav-home {
   color: #8b0000 !important;
   font-weight: 700;
 }

 .nav-contact {
   display: flex;
   flex-direction: column;
   gap: 4px;
   align-items: flex-start;
   line-height: 1.2;
 }

 .nav-contact a,
 .nav-contact a:visited {
   color: #2f2f2f;
   font-size: 0.9rem;
   font-weight: 500;
 }

 .nav-contact a:hover {
   color: #8b0000;
 }

 .hero {
   position: relative;
   min-height: 100vh;
   padding: 145px 7% 240px;
   display: flex;
   align-items: flex-start;
   justify-content: flex-start;
   background:
     linear-gradient(90deg,
       rgba(10, 80, 160, 0.20) 0%,
       rgba(10, 60, 150, 0.08) 22%,
       rgba(255, 255, 255, 0.00) 48%),
     url('images/hero.webp') no-repeat center center / cover;
 }

 .hero-content {
   max-width: 450px;
   width: 100%;
   position: relative;
   z-index: 2;
 }

 .hero-content h1 {
   margin: 0 0 14px;
   font-family: 'Montserrat', sans-serif;
   font-size: 1.95rem;
   font-weight: 800;
   line-height: 1.12;
   letter-spacing: -0.6px;
   color: #ffffff;
   text-shadow:
     -1px 0 rgba(122, 31, 31, 0.22),
     1px 0 rgba(122, 31, 31, 0.22),
     0 1px rgba(122, 31, 31, 0.18),
     0 8px 18px rgba(0, 0, 0, 0.15);
 }

 .hero-content p {
   margin: 0 0 14px;
   font-size: 1.03rem;
   line-height: 1.45;
   color: rgba(73, 67, 67, 0.92);
   font-weight: 700;
   text-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
   white-space: normal;
 }


 .hero-actions {
   display: flex;
   align-items: center;
   gap: 27px;
   margin-top: 10px;
   justify-content: flex-start;
   width: 100%;
 }

 .hero-badges {
   display: flex;
   gap: 10px;
   margin-top: 0;
   flex-wrap: nowrap;
 }


 .badge-circle {
   position: relative;
 }

 /* Hover yazısı (başta gizli) */
 .badge-hover {
   position: absolute;
   bottom: 110%;
   /* 🔥 aşağı değil yukarı çıkar */
   left: 50%;
   transform: translateX(-50%);

   width: 240px;
   text-align: center;

   background: rgba(255, 255, 255, 0.92);
   /* 🔥 açık */
   color: #222;

   padding: 10px 12px;
   /* 🔥 daha geniş */
   border-radius: 8px;

   font-size: 0.95rem;
   /* 🔥 büyüdü */
   font-weight: 500;
   line-height: 1.45;
   color: rgba(73, 67, 67, 0.92);
   box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
   white-space: normal;
   opacity: 0;
   pointer-events: none;
   transition: 0.25s;
   z-index: 999;
 }

 /* Hover olunca göster */
 .badge-circle:hover .badge-hover {
   opacity: 1;

 }

 .cta-btn {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   min-width: 142px;
   padding: 0 30px;
   height: 40px;
   border-radius: 10px;
   background: var(--primary);
   color: #fff;
   text-decoration: none;
   font-size: 1rem;
   font-weight: 700;
   box-shadow: 0 4px 14px rgba(139, 0, 0, 0.39);
   transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.25s ease;
   flex-shrink: 0;
   margin-left: 10px;
 }

 .cta-btn:hover {
   background: var(--primary-dark);
   transform: translateY(-2px);
   box-shadow: 0 6px 20px rgba(139, 0, 0, 0.23);
 }

 .badge-circle {
   position: relative;
   width: 76px;
   height: 76px;
   border-radius: 50%;
   background: rgba(255, 255, 255, 0.78);
   border: 1.5px solid rgba(139, 0, 0, 0.75);
   display: flex;
   align-items: center;
   justify-content: center;
   text-align: center;
   padding: 10px;
   box-shadow: 0 4px 12px rgba(0, 0, 0, 0.10);
   backdrop-filter: blur(2px);
 }

 .badge-circle::before {
   content: "";
   position: absolute;
   inset: 0;
   background: url("images/circle.png") no-repeat center center / contain;
   opacity: 0.95;
 }

 .badge-circle span {
   position: relative;
   z-index: 2;
   font-size: 0.6rem;
   line-height: 1.12;
   font-weight: 700;
   color: #1a1414;
 }

 .bottom-section {
   position: fixed;
   left: 0;
   right: 0;
   bottom: 20px;
   z-index: 100;
   display: flex;
   justify-content: center;
   align-items: center;
   padding: 0 4%;
 }

 .product-grid {
   width: 90%;
   max-width: 960px;
   display: grid;
   /*  grid-template-columns: repeat(5, minmax(0, 1fr));     */
   grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
   gap: 14px;
 }

 .product-card {
   background: rgba(255, 255, 255, 0.95);
   border-radius: 14px;
   padding: 12px 8px 12px;
   height: 162px;
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: flex-start;
   text-align: center;
   border: 1px solid rgba(0, 0, 0, 0.04);
   box-shadow: 0 12px 28px rgba(0, 0, 0, 0.04);
   transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
   cursor: pointer;
   text-decoration: none;
   color: inherit;
   position: relative;
   overflow: hidden;
 }

 .product-card img {
   width: 100%;
   max-width: 170px;
   height: auto;
   object-fit: contain;
   object-position: center;
   margin-bottom: 8px;
   flex-shrink: 0;
 }

 .product-card:hover {
   transform: translateY(-5px);
   box-shadow: 0 18px 34px rgba(0, 0, 0, 0.13);
   border-color: rgba(139, 0, 0, 0.16);
 }

 .product-card h2 {
   margin: 0 0 6px;
   font-size: 1.05rem;
   color: #2f2f2f;
   font-weight: 600;
   line-height: 1.2;
 }

 .product-card p {
   margin: 0;
   font-size: 0.8rem;
   line-height: 1.3;
   color: #555;
   font-weight: 500;
 }

 /* Yazıyı gizle */
 .product-card .hover-text {
   position: absolute;
   bottom: 0;
   left: 0;
   width: 100%;
   padding: 12px;
   background: rgba(0, 0, 0, 0.6);
   color: #fff;
   font-size: 0.85rem;
   line-height: 1.4;

   opacity: 0;
   transform: translateY(100%);
   transition: all 0.3s ease;
 }

 /* Hover olunca göster */
 .product-card:hover .hover-text {
   opacity: 1;
   transform: translateY(0);
 }
@media (min-width: 1441px) {
  .hero {
    padding-left: max(6%, calc((100vw - 1440px) / 2 + 6%));
    padding-right: max(6%, calc((100vw - 1440px) / 2 + 6%));
  }

  nav {
    padding-left: max(6%, calc((100vw - 1440px) / 2 + 6%));
    padding-right: max(6%, calc((100vw - 1440px) / 2 + 6%));
  }

  .hero-content {
    max-width: 450px;
  }

  .bottom-section {
    bottom: clamp(36px, 5vh, 72px);
  }
}